package com.unbook.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("s_admin")
public class AdminUser extends BaseEntity {
    @TableId("id")
    private Long id;
    @TableField("account")
    private String account;
    @TableField("nick_name")
    private String nickName;
    @TableField("password")
    private String password;
    @TableField("avatar")
    private String avatar;
    @TableField("phone")
    private Long phone;
    @TableField("email")
    private String email;
}
